package com.woniuxy.common.mapper;

import com.woniuxy.common.entity.ManagerEmployee;
import com.woniuxy.common.entity.ManagerEmployeeExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ManagerEmployeeMapper {
    long countByExample(ManagerEmployeeExample example);

    int deleteByExample(ManagerEmployeeExample example);

    int deleteByPrimaryKey(String empId);

    int insert(ManagerEmployee record);

    int insertSelective(ManagerEmployee record);

    List<ManagerEmployee> selectByExample(ManagerEmployeeExample example);

    ManagerEmployee selectByPrimaryKey(String empId);

    int updateByExampleSelective(@Param("record") ManagerEmployee record, @Param("example") ManagerEmployeeExample example);

    int updateByExample(@Param("record") ManagerEmployee record, @Param("example") ManagerEmployeeExample example);

    int updateByPrimaryKeySelective(ManagerEmployee record);

    int updateByPrimaryKey(ManagerEmployee record);
}